
#include "Commodity.h"

Commodity::Commodity(int price, std::string key, std::string brand)
    : price_(price)
    , key_(std::move(key))
    , brand_(std::move(brand))
{

}

int Commodity::get_price() const
{
  return price_;
}

const std::string& Commodity::get_key() const
{
  return key_;
}

const std::string& Commodity::get_brand() const
{
  return brand_;
}
